package com.ymatou.iapi.idcardmng.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

public class ReceiveMobileFromTradingCall extends YmatouBaseCall{
	
	private static String opurl = "manage/receiveMobileFromTrading";

	public ReceiveMobileFromTradingCall() {
		super(EnvSetup.getSystemUrl("idcardmng"), opurl, "POST", "JSON");
	}
	
	@Override
	public void addDefHeader() {
		client.addHeader("Accept",
				"text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	public String getCode() {
		
		String code = "";
		code = this.getReturnData();
		
		return code;
	}
}
